package org.sistema.pgfx.entidad;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.DiscriminatorValue;
import javax.persistence.Entity;
import javax.persistence.PrimaryKeyJoinColumn;
import javax.persistence.Table;

@Entity
@Table(name = "personas_usuarios")
@PrimaryKeyJoinColumn(name = "usu_persona")
public class PersonaUsuario extends Persona implements Serializable {
	private static final long serialVersionUID = 1L;
 
	@Column(name = "usu_alias", unique=true)
	private String alias;
	@Column(name = "usu_clave")
	private String clave;
	@Column(name = "usu_is_admin")
	private Integer isAdmin;
	@Column(name = "usu_is_devel")
	private Integer isDevel;

	public PersonaUsuario() {
	}
	public String getAlias() {
		return alias;
	}
	public String getClave() {
		return clave;
	}
	public void setAlias(String alias) {
		this.alias = alias;
	}
	public void setClave(String clave) {
		this.clave = clave;
	}
	public Integer getIsAdmin() {
		return isAdmin;
	}
	public void setIsAdmin(Integer isAdmin) {
		this.isAdmin = isAdmin;
	}
	public Integer getIsDevel() {
		return isDevel;
	}
	public void setIsDevel(Integer isDevel) {
		this.isDevel = isDevel;
	}
}